import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 列表查询
export const getList = (params) => axios.post(`${SERVER.RETAIL}/inventoryManage/listRecord`, params)
// 锁定/开启
export const postonLock = (params) => axios.post(`${SERVER.RETAIL}/inventoryManage/onLock`, params)
// 车辆配置五级选择
export const vehicleConfiguration = (id, params) => axios.get(`${SERVER.BASEDATA}/vehicleProduct/productInfo/productTreeNew`, { params: { type: id, level: 6, ...params } });
// 仓库选择列表
export const getWarehouseList = (params) => axios.get(`${SERVER.RETAIL}/ttVsDeliveryOrder/getWarehouseList`, {params})
// 操作记录
export const getRecordLockedLog= (params) => axios.get(`${SERVER.RETAIL}/vehicle/listRecordLockedLog`, {params})
